﻿using Microsoft.AspNetCore.Mvc;

namespace ApiLib.Common.Attributes.IocAttributes;

/// <summary>
/// 自动注入：只能在控制器或动态 WebAPI 中使用
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter)]
public class AutowiredAttribute : FromServicesAttribute
{
}